package com.million.artservice.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 文章内容
 * </p>
 *
 * @author 十麓
 * @since 2022-04-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("edu_article_body")
@ApiModel(value="ArticleBody对象", description="文章内容")
public class ArticleBody implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "文章内容ID")
      @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "文章内容")
    private String content;

    @ApiModelProperty(value = "文章ID")
    private String articleId;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
